package icu.xblogs.report.mapper;

import icu.xblogs.report.domain.Manager;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author Frank KONG
 * @version 1.0
 * @date 2020/11/16 14:01
 */
@Repository
public interface ManagerMapper {

    Manager getByIdAndPsw(@Param("id") int id, @Param("password") String password);

    void updatePsw(@Param("id") int id, @Param("oldPassword") String oldPassword, @Param("newPassword") String newPassword);
}
